﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_ROLEPERMISSION.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_ROLEPERMISSION数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_ROLEPERMISSION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_ROLEPERMISSION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_ROLEPERMISSION_Entity
	{
		#region 变量定义		
		///<summary>
		///自增编号
		///</summary>
		private long _aUTOID;
		///<summary>
		///角色权限
		///</summary>
		private long? _rOLEID = 0;
		///<summary>
		///权限编号
		///</summary>
		private long? _pERMISSIONID = 0;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_ROLEPERMISSION_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///自增编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_ROLEPERMISSION")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long AUTOID
		{
			get {return _aUTOID;}
			set { _aUTOID = value; }
			
		}

		///<summary>
		///角色权限
		///</summary>		
		public long? ROLEID
		{
			get {return _rOLEID;}
			set { _rOLEID = value; }
			
		}

		///<summary>
		///权限编号
		///</summary>		
		public long? PERMISSIONID
		{
			get {return _pERMISSIONID;}
			set { _pERMISSIONID = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}
		
		
		#endregion
		
	}
}
